kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 16:53:12 +0000 (16:53 +0000)]
bitkeeper revision 1.1383 (426d2078vvMiOXQcJ98uhha5uIt0Sw)
Enormously better process destruction performance. By not running on
pagetables when we are destroying them we massively reduce TLB flushes
and increase writable p.t. batches. This patch would probably improve
even native Linux performance, because of the rabid ZAP_BLOCK_SIZE
changes to unmap_vmas() that were introduced to 2.6.11. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 15:10:07 +0000 (15:10 +0000)]
bitkeeper revision 1.1382 (426d084fj_L9HqLwTZs1okz5LbnXcg)
Fix writable pagetables for uniproc domains such that we don't use the
emulation path every time.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 10:58:04 +0000 (10:58 +0000)]
bitkeeper revision 1.1381 (426ccd3chFZ3jThNSK9--Zvf3r2fug)
No longer disable format checking for printf/printk statements. This
required a whole bunch of cleanups to get the build working again.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 09:04:02 +0000 (09:04 +0000)]
bitkeeper revision 1.1380 (426cb282h_zj6PQYX7HuwLMZrI68ig)
More gcc4 signed/unsigned char fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
leendert@watson.ibm.com[kaf24] [Mon, 25 Apr 2005 07:55:36 +0000 (07:55 +0000)]
bitkeeper revision 1.1379 (426ca278F5TOjFztt77FKYt8v457dg)
[PATCH] [PATCH] Assorted VMX patches
This patch contains the following VMX patches:
- ioemu: Update the address when doing a stosb/stosw/stosl. Without this patch
stosb writes req->count times at the same location req->addr. Not exactly
the intended semantics.
- xc_ptrace.c: Use the page_array to refer to partition memory. This allows
you to use gdbserver on a VMX partition (and presumably partitions that use
shadow page tables).
- dom0_ops.c: Preserve ECF_VMX_GUEST flag for gdbserver. Without it you
cannot (re)set the VMX domain state.
- vmx.c: Added support for lmsw. Unmodified FreeBSD uses this when running
inside a VMX partition.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
===== tools/ioemu/iodev/cpu.cc 1.8 vs edited =====
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 07:55:26 +0000 (07:55 +0000)]
bitkeeper revision 1.1378 (426ca26eUpP7OInuOBvTyETb6y9VRQ)
Add /usr/lib64/python to the path for python tools so that they can be
found on 64-bit platforms.
Signed-off-by: Jerone Young <jyoung@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:01:19 +0000 (16:01 +0000)]
bitkeeper revision 1.1377 (426a714f6V9I7WsWjOjg5UyMTHIubA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:00:42 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.258.106 (426a712aViBd_l7Q-xevKeNJhNJHSw)
Makefile:
Fix mkpatches build target to ignore freebsd error.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 14:53:20 +0000 (14:53 +0000)]
bitkeeper revision 1.1376 (426a6160VtACVFwzChimSdGZNrpWGg)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:18:20 +0000 (11:18 +0000)]
bitkeeper revision 1.1375 (426a2efcnNwCi2J-ptewqWF_62U1-g)
xenpmap.h, hypervisor.h, xen_machdep.c, pmap.c, machdep.c:
Writable pagetables for freebsd.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:10:11 +0000 (11:10 +0000)]
bitkeeper revision 1.1374 (426a2d13oNszAPe4DJtPXXT5G-vZVQ)
evtchn.c:
Fix freebsd lockup.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:04:40 +0000 (11:04 +0000)]
bitkeeper revision 1.1373 (426a2bc8m7wX71OOkLtSOgNXcrObMA)
xc_domain.c:
Ensure ctxt is mlocked in xc_domain_getfullinfo.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 10:53:18 +0000 (10:53 +0000)]
bitkeeper revision 1.1372 (426a291er6fDcjQLyYtGSP3XQORoWQ)
grant_table.c:
gcc4 tweak.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:57:55 +0000 (16:57 +0000)]
bitkeeper revision 1.1371 (42692d136tRflIX7G4VOXJLCJstFVw)
Hi folks,
arch/xen/x86_64/kernel/entry.S | 131
+++++++++++++++++++--------------
arch/xen/x86_64/kernel/process.c | 5 -
arch/xen/x86_64/kernel/traps.c | 3
arch/xen/x86_64/kernel/vsyscall.c | 2
include/asm-xen/asm-x86_64/hypercall.h | 5 -
include/asm-xen/asm-x86_64/system.h | 6 -
6 files changed, 88 insertions(+), 64 deletions(-)
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Attached contains bug fixes:
1. hang at floppy driver
2. hiccups at boot time
3. FP save/restore
4. cleanups in entry.S (critical section fixup, etc.)
5. time problem (temporarily disables vgettimeofday that uses TSC). I'm
not sure if we can use TSC-based vxtime in Xen. So we need some cleanups
there.
1 & 2 were simply fixed in process.c; xen_idle() is now identical to the
32-bit one.
I'm still working on failsafe_callback (because now I'm getting it), but
the system should be ready for broader ranges of people. Some config
seems to cause a panic in the hypervisor, and I'm also looking at it.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:42:55 +0000 (16:42 +0000)]
bitkeeper revision 1.1370 (4269298fN8pBqkwEJEdXf9MR8bXVzA)
Add a headroom check to MMUEXT_REASSIGN_PAGE.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:45 +0000 (16:34 +0000)]
bitkeeper revision 1.1369 (426927a5No_sHhV62q0TEbxYu-jcHA)
Hypercall preemption check also looks for pending event upcalls to
guest kernel.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:08 +0000 (16:34 +0000)]
bitkeeper revision 1.1368 (42692780QS8e5vEYZOY8vFfJQySx9Q)
Force efficient implementation of __put_user().
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:10:53 +0000 (16:10 +0000)]
bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)
Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove
DOM0_SETINITIALMEM. You can get the same effect via PINCPU,
SETMAXMEM, and do_mem_op(increase_reservation).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 09:17:26 +0000 (09:17 +0000)]
bitkeeper revision 1.1366 (4268c126o36cKcnzrSkVxkbrPsoz1g)
Clean up shadow destruction and fix domain destroy when shadow mode
is disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 22:33:54 +0000 (22:33 +0000)]
bitkeeper revision 1.1365 (42682a52hWoXmZEjWb2-0Ly05egFKg)
Hand merged...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Thu, 21 Apr 2005 21:43:23 +0000 (21:43 +0000)]
bitkeeper revision 1.1357.1.1 (42681e7b7KG-juYnPnNfse4HYMkaMw)
Make find_highest_irq() work for both 32 and 64 bit.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: ian@xensource.com
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:53:42 +0000 (20:53 +0000)]
bitkeeper revision 1.1364 (426812d6FWlbLqlBBPVfuegkt0_fyg)
Now that the shadow code is squashing the global bit in PTEs,
it's OK to re-enable the PGE capability flag for vmx domains.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:29:00 +0000 (20:29 +0000)]
bitkeeper revision 1.1363 (42680d0cgIEixfhEIj_iwmyZ73FnfA)
Fix assertion in delete_shadow_status to allow for removal of PGT_writable_pred's...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:18:32 +0000 (20:18 +0000)]
bitkeeper revision 1.1362 (42680a98yqGgnpTBOHnevLNLv2y9uw)
Minor cleanup of the SH_V*LOG macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:17:39 +0000 (20:17 +0000)]
bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw)
Fix another bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:14:36 +0000 (19:14 +0000)]
bitkeeper revision 1.1360 (4267fb9cE5_cr52xAcYJVAIQ7vYIzg)
Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:13:59 +0000 (19:13 +0000)]
bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A)
Fix bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:39:45 +0000 (17:39 +0000)]
bitkeeper revision 1.1358 (4267e561Ml7gO0DQYGp9EYRUYPBDHA)
Merge burn.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:34:14 +0000 (17:34 +0000)]
bitkeeper revision 1.1340.1.3 (
4267e4164-4aUgpDERur941-hMFzxg)
fix vmx problems
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:30:34 +0000 (17:30 +0000)]
bitkeeper revision 1.1340.1.2 (4267e33asTxlaqmSE5FbomPUak_0JQ)
Shadow mode should (for now) *not* set the _PAGE_GLOBAL mode in any of the shadow page tables.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:29:29 +0000 (17:29 +0000)]
bitkeeper revision 1.1340.1.1 (4267e2f9w3cY4KkexyNS9ToHGVVs9Q)
Patch to enable the destruction of domains which have shadow mode enabled.
Also fixes some shadow mode ref counting bugs, and one bug in check_pte()
recently introduced by the changes in page table accessor types/macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 15:39:08 +0000 (15:39 +0000)]
bitkeeper revision 1.1357 (4267c91c8u7H5ttS9RWRyBY5FrTm3g)
Fix APIC setup on legacy systems.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 14:19:31 +0000 (14:19 +0000)]
bitkeeper revision 1.1356 (4267b673efcxbbD0RRVHEKvD5FY3Ng)
A few APIC cleanups. I hate '#if 0' code.
Signed-off-by: Keir Fraser <keir@xensource.com>
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 12:12:12 +0000 (12:12 +0000)]
bitkeeper revision 1.1355 (4267989cdNkLLXE3U927LF_DDyF0vA)
Makefile cleanup.
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 12:07:43 +0000 (12:07 +0000)]
bitkeeper revision 1.1354 (4267978fFQb5kQkxkvTFxgEKkOUzLQ)
Enable the ProcFS part of grant table only when CONFIG_PROC_FS is defined.
This is also necessary for separate driver domains that contain block
device backend driver and operate in kernel-mode only (thus ProcFS turned off).
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 11:35:36 +0000 (11:35 +0000)]
bitkeeper revision 1.1353 (42679008eE6ft7E62R0UneGs51hd-w)
Enable grant table suspend and resume when CONFIG_XEN_BLKDEV_GRANT
is defined.
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 10:46:29 +0000 (10:46 +0000)]
bitkeeper revision 1.1352 (42678485GbfE9tHK21SYM_tM6xSlBQ)
Add 8-byte version of cmpxchg_user() for i386.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 10:15:23 +0000 (10:15 +0000)]
bitkeeper revision 1.1351 (42677d3b7Caqgw-mG40oawn1nybJ4A)
Fix segment save/restore during context switching on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 09:14:12 +0000 (09:14 +0000)]
bitkeeper revision 1.1350 (42676ee4BkgqwvPiIyB44k55uY8cSA)
Fix blkdev suspend/resume.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Thu, 21 Apr 2005 08:40:45 +0000 (08:40 +0000)]
bitkeeper revision 1.1159.258.105 (4267670d6FkIvFKVISqYF-TBHKlEMg)
docs typo fix
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: ian@xensource.com
arun.sharma@intel.com[iap10] [Thu, 21 Apr 2005 00:16:35 +0000 (00:16 +0000)]
bitkeeper revision 1.1349 (4266f0e3WdYR9ou-iJ615G_cx6Whhg)
[PATCH] use-large-file-api.patch
Support > 2G root fs on i386.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@tetris.cl.cam.ac.uk [Thu, 21 Apr 2005 00:11:07 +0000 (00:11 +0000)]
bitkeeper revision 1.1348 (4266ef9bSWLiNFi-ZJ_TkK7jYaRikA)
Truly round off the div result to get right PIT frequency for guest.
Otherwise, the guest's idea of time drifts away from that of the host.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@tetris.cl.cam.ac.uk [Thu, 21 Apr 2005 00:05:05 +0000 (00:05 +0000)]
bitkeeper revision 1.1347 (4266ee31uFDz7ZMst_Cy-vYbXJ2EZw)
__vmxon() is called twice for the boot cpu, because identify_cpu() is called
twice. This patch ensures that identify_cpu() and hence __vmxon() is called
exactly once for the boot CPU on SMP.
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 20 Apr 2005 21:22:46 +0000 (21:22 +0000)]
bitkeeper revision 1.1346 (4266c8260coTi59LSeJsnETrYAWOdw)
fix compile
leendert@watson.ibm.com[iap10] [Wed, 20 Apr 2005 20:35:17 +0000 (20:35 +0000)]
bitkeeper revision 1.1345 (4266bd05lHlHunb0CEvOq60j2DvKCQ)
[PATCH] VMX world switch
The attached code implements a VMX world switch to vmxassist (a small assist
module residing in a VMX enabled partition where it is responsible for
emulating real mode) whever CR0.PE is disabled.
The patch temporarily disables the PGE feature flag in cpuid as it is
currently broken (try running an unmodified 2.6 kernel that sets PGE in
mm/init.c/paging_init()).
The patch adds consistency checks before setting the ARCH_VMX_IO_WAIT state
to detect race conditions on SMP systems.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: ian@xensource.com
cwc22@centipede.cl.cam.ac.uk [Wed, 20 Apr 2005 18:39:42 +0000 (18:39 +0000)]
bitkeeper revision 1.1344 (4266a1eeiNiXbU4vcENZiEEaX7Iybw)
grant-tables.txt:
fix to error check condition after map
blkback.c:
bug fix to grant table code in block backend
Kconfig:
amend config entry for XEN_BLKDEV_GRANT
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 17:46:27 +0000 (17:46 +0000)]
bitkeeper revision 1.1343 (42669573FPZbSiupGqFkPopp_NRfpA)
Make the fallback memset/memcpy/memmove have a concrete in-place
implementation, or we end up with a recursive dependency when building
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 14:29:18 +0000 (14:29 +0000)]
bitkeeper revision 1.1342 (4266673eMuou_Ng4Ze7pzPUJ4IL7bg)
Fix memset/memcmp/memmove declaration/definition.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:57:08 +0000 (13:57 +0000)]
bitkeeper revision 1.1341 (42665fb46UgwC9x1OrVqB6qUISrloQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:57:00 +0000 (13:57 +0000)]
bitkeeper revision 1.1338.1.2 (42665facQKpiHhfw13qIq439AkffOw)
Here is a patch to get Xen running on a 32-way Unisys ES7000 system.
Please note that this patch alone is not sufficient to do this. You will
also need the clustered APIC patch that I will be submitting soon. But
since this patch was to a general area in Xen I decided to submit it
separately. I think this patch will be required to get Xen running on
any system that has more than 16 CPUs.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
mafetter@fleming.research [Wed, 20 Apr 2005 13:02:32 +0000 (13:02 +0000)]
bitkeeper revision 1.1340 (426652e8h-OWfDH7vm_elbT4wtH2cA)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:00:18 +0000 (13:00 +0000)]
bitkeeper revision 1.1338.1.1 (42665262XHUfWrT775PaPvnAkL5qXg)
Fix assumption about size of irq_cpustat_t in assembly code.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Wed, 20 Apr 2005 12:32:43 +0000 (12:32 +0000)]
bitkeeper revision 1.1339 (42664beb9pIazYZQ7Q7VrSdT1GCS1w)
Hand merge
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Wed, 20 Apr 2005 11:50:06 +0000 (11:50 +0000)]
bitkeeper revision 1.1311.1.1 (426641eeBv97w6sl983zxeR4Dc3Utg)
Cleanup page table handling. Add macros to access page table
entries, fixup plenty of places in the code to use the page
table types instead of "unsigned long".
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 10:39:58 +0000 (10:39 +0000)]
bitkeeper revision 1.1338 (4266317ezHysqYzH_WRvfueqwU4i4Q)
Grant tables for FreeBSD.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
cw@f00f.org[kaf24] [Wed, 20 Apr 2005 10:36:34 +0000 (10:36 +0000)]
bitkeeper revision 1.1337 (426630b2jBKjnL7WBIWHGPtgL50rqg)
[PATCH] [PATCH] gdbserver minor build fixes
gdb-6.2.1-xen-sparse/gdb/gdbserver/configure | 2 +-
gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in | 2 +-
gdbbuild | 16 ++++++++++++----
3 files changed, 14 insertions(+), 6 deletions(-)
More cleanups are possible, I'll send those at a later stage.
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:25:15 +0000 (10:25 +0000)]
bitkeeper revision 1.1336 (42662e0bB62AMXvz0XCbYomA5_OHAw)
[PATCH] x86-64-enable-vmx.patch
Enable CONFIG_VMX for x86_64.
- Provides vmexit/entry handling code based on the x86_32 code
- Fix find_highest_vector for 64 bit (Benjamin Liu)
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:24:53 +0000 (10:24 +0000)]
bitkeeper revision 1.1335 (42662df5Ky_wqkYVs3ghiLYYBXII2Q)
[PATCH] x86-64-rdmsrl.patch
Use the rdmsrl implementation from Linux.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:24:32 +0000 (10:24 +0000)]
bitkeeper revision 1.1334 (42662de0c8DCr-P3F3XBjh8kE0IjpQ)
[PATCH] x86-64-longs.patch
Use the correct data type for x86-64
Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:24:23 +0000 (10:24 +0000)]
bitkeeper revision 1.1333 (42662dd7ZAAvK_ZarFhk1lamxPIQdg)
[PATCH] x86-64-eax.patch
vmx_vmcs.c:
fix inline asms for x86-64
Signed-Off-By: Benjamin Liu <benjamin.liu@intel.com>
Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
chrisw@osdl.org[kaf24] [Wed, 20 Apr 2005 10:23:43 +0000 (10:23 +0000)]
bitkeeper revision 1.1332 (42662dafs9ga33FcmQTwHMpRHPe8_Q)
[PATCH] [PATCH 2/2] x86_64 whitespace cleanup in Linux sparse
Eliminate extraneous whitespace changes in x86_64 portion of Linux
sparse patch.
Signed-off-by: Chris Wright <chrisw@osdl.org>
chrisw@osdl.org[kaf24] [Wed, 20 Apr 2005 10:23:38 +0000 (10:23 +0000)]
bitkeeper revision 1.1331 (42662daawcgGfsYXrl37riGl22RhdA)
[PATCH] [PATCH 1/2] i386 whitespace cleanup in Linux sparse tree
Eliminate extraneous whitespace changes in i386 portion of Linux
sparse patch.
Signed-off-by: Chris Wright <chrisw@osdl.org>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 10:00:10 +0000 (10:00 +0000)]
bitkeeper revision 1.1330 (4266282ak6eGcWHbvw6KeINzcPr1XA)
Skip ioemu build if env var XEN_NO_IOEMU is set.
Signed-off-by: Mike Day <md@soft-hackle.net>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 08:51:33 +0000 (08:51 +0000)]
bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
djm@sportsman.spdomain [Tue, 19 Apr 2005 22:22:26 +0000 (22:22 +0000)]
bitkeeper revision 1.1327.1.3 (426584a23wQiUIp8f6GBvZpPQBMRhA)
Update documentation to reflect rebasing
djm@sportsman.spdomain [Tue, 19 Apr 2005 16:54:38 +0000 (16:54 +0000)]
bitkeeper revision 1.1327.1.2 (426537ceqse6CIeqDSkO2xQvN7gUvg)
Adapt to change in x86
xen-ia64.adm@bkbits.net [Tue, 19 Apr 2005 16:50:26 +0000 (16:50 +0000)]
bitkeeper revision 1.1327.1.1 (426536d2PUqtjTi2v06bzD10RFwarg)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
iap10@freefall.cl.cam.ac.uk [Tue, 19 Apr 2005 15:19:22 +0000 (15:19 +0000)]
bitkeeper revision 1.1328 (4265217aYiP2DYWshvrhuzl1lKe_3w)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Tue, 19 Apr 2005 15:18:24 +0000 (15:18 +0000)]
bitkeeper revision 1.1323.1.2 (42652140LgTunNR_6zFKtu-45HaaTQ)
Bug fix for audit code.
More verbose 'q' debug key.
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 19 Apr 2005 15:16:46 +0000 (15:16 +0000)]
bitkeeper revision 1.1323.1.1 (426520de5_4ELPPMz4K8LGEZrgN-Hg)
Implement save/restore (not migration) for unstable.
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Apr 2005 13:48:05 +0000 (13:48 +0000)]
bitkeeper revision 1.1327 (42650c157OdzpVLoIU2uHsYHltTfYg)
Remove unused VERIFY_READ and VERIFY_WRITE parameters from the
access_ok, user-space memory check macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Apr 2005 13:41:12 +0000 (13:41 +0000)]
bitkeeper revision 1.1326 (42650a788JSw9ebwfL7C9aWTza0ZlA)
Address space reorganization.
Intention is to have largely the same memory layout
in both PAE and non-PAE mode, so I moved the
fixed-size stuff to the top, followed by the
variable-sized stuff (frametable and linear page
tables), and the domain-accessable machine-phys-table
at the bottom.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Apr 2005 12:09:05 +0000 (12:09 +0000)]
bitkeeper revision 1.1325 (4264f4e1_pBZ5zLLX0b0JxQ8LKictQ)
Grant-table cleanups, reduce break-even point for INVLPG vs. full flush,
and fix TLB flushing for SMP guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
cwc22@centipede.cl.cam.ac.uk [Tue, 19 Apr 2005 00:03:29 +0000 (00:03 +0000)]
bitkeeper revision 1.1324 (42644ad1aeFq3LcHbilUBO0afwrj8g)
blkback.c:
fix to error handling for bad grant refs
Signed-off-by: Christopher Clark
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 23:25:40 +0000 (23:25 +0000)]
bitkeeper revision 1.1323 (426441f4N_rRW9JqV6OGmWTaHrLiCQ)
- Update FreeBSD sparse tree to build against latest -unstable
- add conditional support for writable pagetables (don't use
currently locks up xen)
- block driver not update to use grant tables yet, DOM0 will have to
be re-compiled with grant table substrate disabled
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 23:20:07 +0000 (23:20 +0000)]
bitkeeper revision 1.1322 (426440a7MY7EjFXXw7M9LRSPhJFVdA)
pull gdb-6.2.1 from more reliable location
Signed-off-by: Kip Macy <kmacy@fsmware.com>
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 22:03:29 +0000 (22:03 +0000)]
bitkeeper revision 1.1321 (42642eb1DhlDvDKcX1gTZhvys-xHJQ)
fix single-stepping
make persistent context per-cpu
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:59:54 +0000 (21:59 +0000)]
bitkeeper revision 1.1320 (42642ddapSMPP0vKzhY_zJP6GaMQ7A)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:59:22 +0000 (21:59 +0000)]
bitkeeper revision 1.1159.258.104 (42642dba9pDTa93gTC3Il_J65x4vUQ)
add in kern.mk to sparse tree to disable compiling with -std=c99
anonymous unions (used in xen public headers) are not compliant
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:53:33 +0000 (21:53 +0000)]
bitkeeper revision 1.1159.258.103 (42642c5djs1dzMOSs-vIJLlGCQyrMQ)
Allow xc_domain_info_t to be optional in xc_domain_getfullinfo
From: Kip Macy
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:40:44 +0000 (21:40 +0000)]
bitkeeper revision 1.1319 (4264295cjYBiljHc4G82B7WseRd9vA)
The problem is that GCC4 is seeing is that variable such as frame (in
grant_table.c) is passed into a function without initialization. Again for the variable sl1mfn (in shadow.c) does the same thing. So really the patches should be:
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:35:56 +0000 (21:35 +0000)]
bitkeeper revision 1.1318 (4264283ce__gVUpQLdg5yGlZuF8vBw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:35:16 +0000 (21:35 +0000)]
bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA)
Add a check for the 'ip' iproute tools in the install script.
Suggested by Sam Johnston [samjie@gmail.com]
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:30:15 +0000 (21:30 +0000)]
bitkeeper revision 1.1317 (426426e75ONJGdRHoWdYW1_r-sGgsA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
ryanh@us.ibm.com[iap10] [Mon, 18 Apr 2005 21:29:44 +0000 (21:29 +0000)]
bitkeeper revision 1.1159.258.101 (426426c8abaWsVEeXnAJoNNGZ6ooyg)
[PATCH] [PATCH] xen: is_idle_task cleanup
The macro is_idle_task references d_flags which is only in struct
domain. When WAKE_HISTO or BLOCKTIME_HISTO are defined (in schedule.c)
xen fails to compile with out the attached patch.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:26:55 +0000 (21:26 +0000)]
bitkeeper revision 1.1316 (4264261frL-EQxwgFFde16WtF01B4g)
trivial from Dave Jones
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:10:54 +0000 (21:10 +0000)]
bitkeeper revision 1.1315 (4264225egUELt3bitAUc2HgHeMMr_w)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:10:18 +0000 (21:10 +0000)]
bitkeeper revision 1.1159.258.100 (4264223aKtYgG3NrSKfbwM7nfkpGcg)
Fix curldebug function in xendomain.c of xfrd. Function takes argument
"size_t buf_num" and uses it as the field width to print, that has to be
an int. While size_t on 32 bit systems is 4bytes (or size of an int) it
is 8bytes on 64bit systems (not size of an int). So this function should
just use "int buf_num". This function is not used in the code anywhere.
This will fix compilation on x86-64.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 21:01:22 +0000 (21:01 +0000)]
bitkeeper revision 1.1314 (42642022uxXkB91UbVd9yk-liaeCHA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
hollisb@us.ibm.com[iap10] [Mon, 18 Apr 2005 20:58:15 +0000 (20:58 +0000)]
bitkeeper revision 1.1159.258.99 (42641f67D11Zf7wIb-qAVu9io6tamQ)
[PATCH] IO-APIC in drivers/pci/quirks.c
This patch moves the IO-APIC include inside #ifdef CONFIG_X86_IO_APIC , which
is how Linux 2.6 has it. This is needed for architectures without
asm/io_apic.h. I've verified that x86 still builds; please apply.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
===== xen/drivers/pci/quirks.c 1.9 vs edited =====
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 20:48:40 +0000 (20:48 +0000)]
bitkeeper revision 1.1313 (42641d28jw3IBtr_TG4yEG9VDljPEw)
With -D_FORTIFY_SOURCE=2 (which is used in the Fedora buildroot), gcc has certain defines for functions like read() to check that things are done right.
This trips up these function pointers, and gcc becomes unhappy.
Adding parens around the function prevents gcc from expanding read to the macro it is defined to internally, and makes things compile again.
Signed-off-by: Rik van Riel <riel@redhat.com>
iap10@freefall.cl.cam.ac.uk [Mon, 18 Apr 2005 19:58:08 +0000 (19:58 +0000)]
bitkeeper revision 1.1312 (42641150UzGGr-qvbIIWNR0atSZMEA)
Trivial ggc4 cleanup from Cihula, Joseph [joseph.cihula@intel.com]
Signed-off-by: ian@xensource.com
mafetter@fleming.research [Mon, 18 Apr 2005 17:47:08 +0000 (17:47 +0000)]
bitkeeper revision 1.1311 (4263f29cFxgD641lih3gf05JfmiLPg)
Fix one of the linux 2.4 compilation problems...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Mon, 18 Apr 2005 15:19:54 +0000 (15:19 +0000)]
bitkeeper revision 1.1310 (4263d01alGeX35dYhvzi6Uo_ZNlWkQ)
Fix bug with get_page_type where validating an L2/L3/L4 page which contained a self
reference would cause xen to busy-wait forever.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Fri, 15 Apr 2005 23:47:54 +0000 (23:47 +0000)]
bitkeeper revision 1.1309 (426052aaG0swXIw841qM6ZsAgDrD2w)
update ignore file
iap10@freefall.cl.cam.ac.uk [Fri, 15 Apr 2005 23:40:59 +0000 (23:40 +0000)]
bitkeeper revision 1.1308 (4260510bQdQyEJ4w-XdZSU5iSTB_Pg)
The attached patch apic.patch updates xen/arch/x86/apic.c so that it is based on linux 2.6.10 code. A few changes made to linux required reworking functions in other files as well so I held off on those changes. For example, setup_APIC_timer(void *) changed to setup_APIC_timer(unsigned int). The change has no real bearing on the Xen code -- it's just a question of how close to linux one wants to be. However, that change goes with a change to smp_call_function which would affect quite a few other files/functions so I left it as is. Most of the other changes are trivial.
xen/ac_timer.h was included but not needed by apic.c so I removed it from the list of #includes.
The new apic.c includes two new files: asm/io_ports.h and asm/mach_apic.h. Patches to create those files are included as well.
chrisw@osdl.org[iap10] [Fri, 15 Apr 2005 23:32:51 +0000 (23:32 +0000)]
bitkeeper revision 1.1307 (42604f23zhUwzxPQ-mNyzol0cpHWlg)
[PATCH] Eliminate kernel version checks from
Eliminate kernel version checks from x86_64/kernel/pci-dma.c as a trivial
first pass cleanup towards merging.
Signed-off-by: Chris Wright <chrisw@osdl.org>
djm@kirby.fc.hp.com [Fri, 15 Apr 2005 22:52:25 +0000 (22:52 +0000)]
bitkeeper revision 1.1277.1.8 (426045a9jwqQpAs04HKkiXc9OPbBBw)
vcpu.c:
pending interrupt fix for paravirtualization
iap10@freefall.cl.cam.ac.uk [Fri, 15 Apr 2005 22:32:57 +0000 (22:32 +0000)]
bitkeeper revision 1.1306 (42604119SDlzs7R1nEPCLSovtVOJ7A)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
katzj@redhat.com[iap10] [Fri, 15 Apr 2005 22:28:14 +0000 (22:28 +0000)]
bitkeeper revision 1.1305 (42603ffeunTyoZX2egpGvfR_Km2tBw)
[PATCH] Install libraries into libdir
Attached makes it so that libxc and libxutil get installed
into /usr/lib64 instead of /usr/lib on x86_64.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
===== Config.mk 1.3 vs edited =====